<?php
	// No direct access
	defined('_JEXEC') or die;
    jimport( 'joomla.application.component.view');
    class VolunteerViewAddvolunteer extends JView
    {
		function display($tpl = null)
		{
			$app = JFactory::getApplication();
			$data = $app->getUserState('volunteer.addvolunteer.form.data');
			$this->assignRef( 'username', $data['username']);
		
			parent::display($tpl); //display defaul template
		}
    }